//
// Created by liushuai on 18-10-29.
//

#ifndef EX26_LINE_H
#define EX26_LINE_H

#include "Node.h"

class Line {
private:
    Node start;
    Node end;
public:
    Line(int x1,int y1,int x2,int y2);
    ~Line();
    void setA(int x,int y);
    void setB(int x,int y);
    void Show();

};


#endif //EX26_LINE_H
